projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e15c9
)
Comment change.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 4 Mar 2004 16:56:14 +0000
(16:56 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 4 Mar 2004 16:56:14 +0000
(16:56 +0000)
lisp/mouse-sel.el
patch
|
blob
|
history
diff --git
a/lisp/mouse-sel.el
b/lisp/mouse-sel.el
index 57c131d43c1aa66b6bb588bba5622f07eaad0266..f9b90fbfc6a815bcb1ebddf42575043ff571ee0a 100644
(file)
--- a/
lisp/mouse-sel.el
+++ b/
lisp/mouse-sel.el
@@
-265,6
+265,8
@@
primary selection and region."
(remove-hook 'x-lost-selection-hooks 'mouse-sel-lost-selection-hook)
(dolist (binding mouse-sel-original-bindings)
(global-set-key (car binding) (cdr binding)))
+ ;; Restore the old values of these variables,
+ ;; only if they were actually saved previously.
(if mouse-sel-has-been-enabled
(setq interprogram-cut-function
mouse-sel-original-interprogram-cut-function